<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>
<h1>图书列表</h1>
<ul>
{% for book in booklist %}
<li>
<a href="{% url 'hb:bookdetail' book.id  %}">{{ book.btitle }}</a>
</li>
{% endfor %}
</ul>

</body>
</html>